import request from '@/utils/request'


// 登录
export function doLogin(data) {
  return request({
    url: 'auth/staff/doLogin',
    method: 'post',
    data
  })
}
// 获取公钥
export function getRsaPublicKey() {
  return request({
    url: 'auth/staff/getRsaPublicKey',
    method: 'get'
  })
}

// 待审核页面
export function applyWaitAudit(data, querySelfOnly) {
  return request({
    url: 'api/goldenServiceApplyWaitAudit/getWaitAudit?querySelfOnly=' + querySelfOnly,
    method: 'post',
    data
  })
}

// 小红点
export function getWaitAuditCount() {
  return request({
    url: 'api/goldenServiceApplyWaitAudit/getWaitAuditCount',
    method: 'get'
  })
}
